net/http.routingNode.matchPath (method)
7 uses
net/http (current package)
routing_tree.go#L136: if l, m := n.findChild(method).matchPath(path, nil); l != nil {
routing_tree.go#L142: if l, m := n.findChild("GET").matchPath(path, nil); l != nil {
routing_tree.go#L147: return n.emptyChild.matchPath(path, nil)
routing_tree.go#L154: func (n *routingNode) matchPath(path string, matches []string) (*routingNode, []string) {
routing_tree.go#L174: if n, m := n.findChild(seg).matchPath(rest, matches); n != nil {
routing_tree.go#L184: if n, m := n.emptyChild.matchPath(rest, append(matches, seg)); n != nil {
routing_tree.go#L234: if p, _ := c.matchPath(path, nil); p != nil {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |